package com.yks.demo.lvcr.democlient.service;

import com.yks.demo.lvcr.democlient.entity.DemoClass;
import com.yks.demo.lvcr.democlient.entity.DemoUser;

public interface IDemoUserService {

    int addUser(DemoUser demoUser);

    int updateUser(DemoUser demoUser);

    int testWaitTimeOut(DemoUser demoUser);

    int testMaxIdleTimeOut(DemoUser demoUser);

    int testTransactionParent(DemoUser demoUser);

    void testTransactionChild(DemoClass demoClass);


    void  testTransaction(DemoUser demoUser);


    void testTransactionTwo(DemoClass demoClass);
}
